﻿namespace Digitalmes.Core.Domain.Eitites;

/// <summary>
/// 转台数据记录表
/// </summary>
[SugarTable("turntable_archive_record")]
public sealed class TurntableArchiveRecord : EntityBase
{
    /// <summary>
    /// 记录时间
    /// </summary>
    [DisplayName("记录时间")]
    public DateTime ArchiveTime { get; set; }

    /// <summary>
    /// 转速（RPM）
    /// </summary>
    [DisplayName("转速(RPM)")]
    public double Speed { get; set; }

    /// <summary>
    /// 位置
    /// </summary>
    [DisplayName("位置")]
    public int Position { get; set; }

    /// <summary>
    /// 正转时间(s)
    /// </summary>
    [DisplayName("正转时间(s)")]
    public double ForwardRotationTime { get; set; }

    /// <summary>
    /// 反转时间(s)
    /// </summary>
    [DisplayName("反转时间(s)")]
    public double ReverseRotationTime { get; set; }

    /// <summary>
    /// 到位距离传感器值(mm)
    /// </summary>
    [DisplayName("到位距离传感器值(mm)")]
    public double DistanceSensor { get; set; }
}
